<?php

namespace app\api\model;

use think\Model;
class Address extends Model
{

    public static function getList($where,$field){
        $list = self::where($where)
            ->field($field)
            ->order("id desc")
            ->select();
        $list = collection($list)->toArray();
        return $list;
    }
}
